/*
 * @Description: 你的代码我的心
 * @Author: GGB
 * @Date: 2022-01-25 17:08:19
 * @LastEditors: GGB
 * @LastEditTime: 2022-01-26 15:03:48
 */
import { FormSchema } from '/@/components/Table';
// 库存输入框
export const apiFormSchemas: FormSchema[] = [
  {
    field: 'name',
    component: 'Input',
    label: '菜单名称',
    colProps: {
      span: 24,
    },
    render: ({ model, field }) => {
      return <>{model[field]}</>;
    },
  },
  {
    field: 'apiIds',
    component: 'Input',
    label: 'API权限',
    required: true,
    colProps: {
      span: 24,
    },
    slot: 'apiIds',
  },
];
